|
|
|
BlueCielo Meridian Enterprise 2012 Developer's Guide | BlueCielo ECM Solutions |
An unexpected problem may cause a task extension to raise an error. Or, the Execute method of the task extension may return False to indicate some other problem.
In both cases, the Task Server will:
In a production environment, the messages in the Windows Application event log are essential. If you make sure that any error messages generated by your task extension contain useful information (as shown in the follow example code), it will be easier to find and correct the cause of failing tasks.
' The text of the error raised by the task extension will appear in the Windows application log If Document is Nothing Then
Err.Raise -1, "GetDocument", "The document was not found!"
End If
Copyright © 2000-2012 BlueCielo ECM Solutions |